import java.util.ArrayDeque;
import java.util.Deque;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86186
 * Date: 2023-10-28
 * Time: 10:48
 */
public class Main {
    public static void main(String[] args) {
        Test test = new Test();
        /*boolean ret = test.backspaceCompare("y#fo##f","y#f#o##f");
        System.out.println(ret);*/
        /*int ret = test.calculate("3+2*2");
        System.out.println(ret);*/
        String ret = test.decodeString("3[a]2[bc]");
        System.out.println(ret);
    }
}
